package com.demo.rocketmq;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 *
 * @author K
 */
@Slf4j
@EnableAsync
@EnableConfigurationProperties
@SpringBootApplication
@ConfigurationPropertiesScan("com.demo.rocketmq.config.properties")
@MapperScan("com.demo.rocketmq.mapper")
public class ServiceRocketMqApplication {

	public static void main(String[] args) {
		log.debug("service-rocketmq startup............................................");
		SpringApplication.run(ServiceRocketMqApplication.class, args);
	}
}
